Materialize immutable native runtime sources#1768
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #1767
Summary
EXTERNAL_PACKAGE_SOURCE_POLICY; policy entries can pin the expected SHA-256 separately from caller descriptors.Compatibility
runtime_sourcesHTTPS ZIP descriptors; existing reusable-workflow callers and Git source descriptors remain unchanged.EXTERNAL_PACKAGE_SOURCE_POLICYv1 schema with optionalruntime_artifacts; callers cannot self-authorize artifact URLs or expected digests.Verified Playground Integration
The CI integration uses only a dummy
OPENAI_API_KEYand makes no provider request:automattic/agents-api@59d1e6b473f22498e40e279130bbb4f9bcde3b73https://downloads.wordpress.org/plugin/ai-provider-for-openai.1.0.3.zipwith SHA-25648f3c0c714b3164cda79d320829830d5a0ea1116e0b19653da8af898a22d3bb6and archive rootai-provider-for-openaiwordpress/php-ai-client@631704201d15ffeff7091ad3bc7156db74054956flat-runtime-agent, Agents API registry, active and registered OpenAI provider, and initialized PHP AI Client.How to test
npm run build.npm run test:runtime-sources-materialization.WP_CODEBOX_RUN_NETWORK_INTEGRATION=1 npm run test:runtime-sources-playground-integration.npm run test:agent-task-contracts.npm run test:production-boundary-enforcement.npm run test:runtime-tool-policy.actionlint .github/workflows/run-agent-task.yml .github/workflows/agent-task-contracts.yml.AI assistance